package com.moqianfan.mcuassistant.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Unique;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by Administrator on 2017/6/20.
 * 收藏实体类
 */
@Entity
public class Collec {
    @Id
    private Long id;
    @Unique
    private String title;
    private String url;
    private String picUrl;
    private String html;
    private String desc;
    @Generated(hash = 903291164)
    public Collec(Long id, String title, String url, String picUrl, String html,
            String desc) {
        this.id = id;
        this.title = title;
        this.url = url;
        this.picUrl = picUrl;
        this.html = html;
        this.desc = desc;
    }
    @Generated(hash = 1776959931)
    public Collec() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getTitle() {
        return this.title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getUrl() {
        return this.url;
    }
    public void setUrl(String url) {
        this.url = url;
    }
    public String getPicUrl() {
        return this.picUrl;
    }
    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }
    public String getHtml() {
        return this.html;
    }
    public void setHtml(String html) {
        this.html = html;
    }
    public String getDesc() {
        return this.desc;
    }
    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Override
    public String toString() {
        return "Collec{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", url='" + url + '\'' +
                ", picUrl='" + picUrl + '\'' +
                '}';
    }
}
